mod parse_fun;

use crate::parse_fun::parse_percentage;

fn main() {
    let result = parse_percentage("50");
    assert_eq!(result, Ok(50));

    // let result = parse_percentage("101");
    // assert_eq!(result, Err("Percentage out of range".to_string()));

    // let result = parse_percentage("abc");
    // assert_eq!(result, Err("Invalid input".to_string()));
}
